package com.ppc.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author BEJSON
 * @description 消息表
 * @date 2023-11-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Message implements Serializable {

  /**
   * message_id
   */
  private Long messageId;

  /**
   * 对话id
   */
  private Long conversationId;

  /**
   * 发送人id
   */
  private Long userId;

  /**
   * 发送内容
   */
  private String messageContent;

  /**
   * 发送时间
   */
  private LocalDateTime messageTime;


  /**
   * 消息状态
   */
  private Integer messageStatus;

}